<%--
  Created by IntelliJ IDEA.
  User: apple
  Date: 2018/4/22
  Time: 上午11:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div class="public-content" id="apply-message" style="display: none;">
    <div class="public-content-title">
        <span>借款编号：</span>
        <span class="public-content-Po "></span>
    </div>
    <table class="public-content-tab">
        <tbody>
        <!--第一行-->
        <tr>
            <td><span>*</span>贷款类型</td>
            <td>
                <div class="se-re">
                    <select id="loanType_content" name="leipiNewField" title="下拉菜单" class="leipiplugins"
                            leipiplugins="select" data-key="贷款类型">
                        <script type="text/x-handlebars-template" id="loanType_content_tpl">
                            <option>选择类型</option>
                            {{#each .}}
                            <option data-id="{{id}}">{{ltName}}</option>
                            {{/each}}
                        </script>
                    </select>
                    <span class="se-po se-po-inputTem"></span>
                </div>
            </td>
            <td><span>*</span>还款方式</td>
            <td>
                <div class="se-re">
                    <select id="repanymentWay_content" name="leipiNewField" title="下拉菜单" class="leipiplugins"
                            leipiplugins="select" data-key="贷款类型">
                        <script type="text/x-handlebars-template" id="repanymentWay_content_tpl">
                            <option>选择还款方式</option>
                            {{#each .}}
                            <option data-id="{{id}}">{{re_name}}</option>
                            {{/each}}
                        </script>
                    </select>
                    <span class="se-po se-po-inputTem"></span>
                </div>
            </td>
            <td><span>*</span>申请金额</td>
            <td>
                <label class="slabel">
                    <input name="leipiNewField" type="text" autocomplete="off" title="文本框" value="" class="leipiplugins"
                           leipiplugins="text" id="apply_money"/>
                    <span>元</span>
                </label>
            </td>
            <td class="applyTrem"><span>*</span>申请期限</td>
            <td class="applyTrem" rel="popover" trigger="manual" data-html="true">
                <div class="se-re">
                    <select id="applyTerm_content" name="leipiNewField" title="下拉菜单" class="leipiplugins"
                            leipiplugins="select" data-key="贷款类型">
                        <script type="text/x-handlebars-template" id="applyTerm_content_tpl">
                            <option>选择期限</option>
                            {{#each .}}
                            <option data-id="{{id}}" data-num="{{num}}">{{atName}}</option>
                            {{/each}}
                        </script>
                    </select>
                    <span class="se-po se-po-inputTem"></span>
                </div>
            </td>

            <td class="applyDay"><span>*</span>申请天数</td>
            <td class="applyDay" rel="popover" trigger="manual" data-html="true" >
                <label class="slabel">
                    <input name="leipiNewField" type="text" autocomplete="off" title="文本框" value="" class="leipiplugins" leipiplugins="text" id="apply_day">
                    <span>天</span>
                </label>
            </td>
        </tr>
        <!--第二行-->
        <tr>
            <td><span>*</span>贷款方式</td>
            <td colspan="5" class=" fix-component" rel="popover" trigger="manual" data-html="true"
                define_id="50">
                <div class="controls" id="loanMethod_content">

                </div>
            </td>
            <td>订单来源</td>
            <td class="" rel="popover" trigger="manual" data-html="true">
                <div class="se-re">
                    <select id="orderSource_content" name="leipiNewField" title="下拉菜单" class="leipiplugins"
                            leipiplugins="select" data-key="贷款类型">
                        <script type="text/x-handlebars-template" id="orderSource_content_tpl">
                            <option>选择来源</option>
                            {{#each .}}
                            <option data-id="{{id}}">{{osName}}</option>
                            {{/each}}
                        </script>
                    </select>
                    <span class="se-po se-po-inputTem"></span>
                </div>
            </td>
        </tr>
        <!--第三行-->
        <tr class="tfootTab">
            <td>扣款明细</td>
            <td class=" fix-component" colspan="7" rel="popover" trigger="manual" data-html="true"
                style="text-align: center">
                <div class="leipiplugins controls" leipiplugins="charging" id="count">
                    <span>
                        <label class="checkbox inline" style="height: auto; padding:5px 0 0 20px; box-shadow: none">
                            <input type="checkbox" name="leipiNewField" title="复选框" value="选项1" orginline="inline"
                                   style="width: 15px;">
                            利率
                        </label>
                        <label class="text slabel isDisabled" style="display: block">
                            <input type="text" autocomplete="off" class="ng-pristine ng-untouched ng-valid ng-empty">
                            分
                        </label>
                    </span>
                    <i style="display: none">
                        <label class="checkbox inline" style="height: auto; padding:5px 0 0 20px; box-shadow: none">
                            <input type="checkbox" name="leipiNewField" title="复选框" value="选项1" class="leipiplugins"
                                   leipiplugins="checkbox" orginline="inline" style="width: 15px">
                        </label>
                        <label class="text slabel isDisabled" style="display: block">
                            <input type="text" autocomplete="off">
                        </label>
                    </i>
                </div>
            </td>
        </tr>
        </tbody>
    </table>

    <div id="build">
        <form id="target" class="form-horizontal">
            <fieldset class="form_myself">
            </fieldset>
        </form>
    </div>

</div>

<script type="text/x-handlebars-template" id="loanType_content_tpl">
    <option>请选择</option>
    {{#each .}}
    <option data-id="{{id}}" {{#IF_EQ id ../real_data}}selected{{/IF_EQ}}>{{ltName}}</option>
    {{/each}}
</script>

<script type="text/x-handlebars-template" id="repanymentWay_content_tpl">
    <option>请选择</option>
    {{#each .}}
    <option data-id="{{id}}">{{re_name}}</option>
    {{/each}}
</script>

<script type="text/x-handlebars-template" id="applyTerm_content_tpl">
    <option>请选择</option>
    {{#each .}}
    <option data-id="{{id}}" data-num="{{num}}">{{atName}}</option>
    {{/each}}
</script>

<script type="text/x-handlebars-template" id="orderSource_content_tpl">
    <option>请选择</option>
    {{#each .}}
    <option data-id="{{id}}">{{osName}}</option>
    {{/each}}
</script>

<script type="text/x-handlebars-template" id="loanMethod_content_tpl">
    {{#each .}}
    <label style="margin-right: 5px;"><input type="radio" name="loanMethod" value="{{loan_method_id}}" style="width: 15px">&nbsp;&nbsp;{{name}}</label>
    {{/each}}
</script>